// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Mixin from './mixins';
import Vant from 'vant';
import 'vant/lib/index.css';
import 'mint-ui/lib/style.css'
import 'lib-flexible';
 
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import Viewer from 'v-viewer'
import 'viewerjs/dist/viewer.css'
Vue.use(Viewer)


Vue.use(ElementUI);
import Navigation from 'vue-navigation'
import VueCropper from 'vue-cropper'
Vue.use(VueCropper)
Vue.use(Vant)
import { Toast } from 'vant';
Vue.use(Toast);
Vue.config.productionTip = false
Vue.mixin(Mixin)
import { getUrl } from './api/axios'

Vue.prototype.$api = getUrl()

Vue.use(Navigation, {
	router,
	moduleName: 'policy',
	keyName: 'RH',
	id: "scroll-content"
})
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
